/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package app_files.xml;

import java.util.Vector;
import app_files.files.File;
/**
 *
 * @author Christopher Standley
 */
public class ReadFile {
    public static  Vector getFileDetails(String file_type){
        Vector file_list = new Vector();
        if(file_type.equals("music")){
            File file1 = new File("I Guess You're Right", "/music/I Guess You're Right.wma", "music");
            file_list.addElement(file1);
        }else if(file_type.equals("image")){
            File file2 = new File("Duke", "/images/duke.png", "image");
            File file3 = new File("leaf", "/images/leaf.jpg", "image");
            file_list.addElement(file2);
            file_list.addElement(file3);
        }
        return file_list;
    }
}


